/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.tom.social.analyzer;

import org.openide.modules.ModuleInstall;
import pl.tom.social.analyzer.jade.LocalJade;

/**
 * Manages a module's lifecycle. Remember that an installer is optional and
 * often not needed at all.
 */
public class Installer extends ModuleInstall {

	@Override
	public void restored() {
		LocalJade.getInstance().connectToMainContainer();
	}

	@Override
	public void close() {
		LocalJade.getInstance().stopJade();
	}
}
